﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace AppFramework.DinosaursParkMes.Process.DTO
{
    public class CraftRouteAddDTO
    {

        /// <summary>
        /// 路线名称
        /// </summary>
        [Required]
        public string Routename { get; set; }

        /// <summary>
        /// 路线状态
        /// </summary>
        [Required]
        public string Routestate { get; set; }

        /// <summary>
        /// 路线说明
        /// </summary>
        public string Routeexplain { get; set; }

        /// <summary>
        /// 路线备注
        /// </summary>
        public string Routeremark { get; set; }

        public List<CraftProcessDto2> Item { get; set; }
    }

    public class CraftProcessDto2
    {
        /// <summary>
        /// 序号
        /// </summary>
        [Required]
        public int Serialnumber { get; set; }

        /// <summary>
        /// 工序
        /// </summary>
        public string Process { get; set; }

        /// <summary>
        /// 下一道工序
        /// </summary>
        public string Nextprocess { get; set; }

        /// <summary>
        /// 关系
        /// </summary>
        public string Relation { get; set; }

        /// <summary>
        /// 关键工序
        /// </summary>
        public string Keyprocess { get; set; }

        /// <summary>
        /// 显示颜色
        /// </summary>
        public string Showcolor { get; set; }

        /// <summary>
        /// 准备时间
        /// </summary>
        public decimal Readinesstime { get; set; }

        /// <summary>
        /// 等待时间
        /// </summary>
        public decimal Waitingtime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

}
